home *** CD-ROM | disk | FTP | other *** search
/ The X-Philes (2nd Revision) / The X-Philes Number 1 (1995).iso / xphiles / hp48hor1 / fractals.doc < prev    next >
Text File  |  1995-03-31  |  2KB  |  45 lines

  1. (User.programs) 
  2. Item: 224 by _ciarn at hpcvbbs.UUCP 
  3. Author: [Dan Ciarniello] 
  4.   Subj: Mandelbrot Sets 
  5.   Keyw: fractals mandelbrot 
  6.   Date: Sun Feb 10 1991 
  7.  
  8. FRACTALS.SRC contains commented source code.  FRACTALS is the binary version to 
  9. be downloaded to your 48.  It also includes four sample fractal images (in F1, 
  10. F2, F3, and F4). 
  11.  
  12. The custom menu contains the programs that are accessed directly by the user. 
  13. All other programs are called by 'MANDEL.' 
  14.  
  15. To generate fractal images: 
  16.  
  17. 1.  Enter the coordinates of the lower left and upper right corners of the 
  18.     desired window (as complex numbers) in levels 1 and 2 respectively.  Note 
  19.     that the entire Mandelbrot set is contained in the window (-2,-1) (1.5,1).   
  20. 2.  If dithering is desired, press 'DITH' otherwise press 'NODITH.' You can 
  21.     tell whether dithering is on by checking flag 3.  (Dithering simply adds 
  22.     features to the region outside of the Mandelbrot set.) 
  23. 3.  Press 'MAND.' 
  24.  
  25. Random Notes: 
  26.  
  27. You can follow progress by watching for the pixel which briefly toggles on and 
  28. off.  'nITTR' contains the maximum number of iterations that 'ITERATE' will do 
  29. before 'bailing out.' It has a default value of 100 which you change.  The 
  30. entire Mandelbrot set will take about 1 hour 15 minutes to generate (for 
  31. nITTR=100; subsets will take longer).  The program returns a value representing 
  32. the number of hours taken to generate the image to stack level 1.  The rest of 
  33. the stack is left intact.  The algorithm used to generate the image makes some 
  34. neat patterns as it progresses.  I get a kick just watching the image being 
  35. generated. 
  36.  
  37. ********************************************************************** 
  38. Dan Ciarniello              Dan_Ciarniello@cc.sfu.ca 
  39. Capilano College            n1n8@cc.sfu.ca 
  40. North Vancouver, B. C.      akcs.ciarn 
  41.  
  42. "F=ma but you can't push a rope" 
  43.  
  44. [Note: See Dan's notes in FRACTALS.SRC.   -jkh-] 
  45.